import request from '@/utils/request';

const ministry = {
  list(params) {
    return request.get('/cgzh/ministryResult/list', {params});
  },
  add(formData) {
    return request.post('/cgzh/ministryResult/add', formData);
  },
  update(formData) {
    return request.post('/cgzh/ministryResult/update', formData);
  },
  delete(id) {
    return request.post(`/cgzh/ministryResult/delete/${id}`);
  },
}

export default ministry;
